package tool.zyk.spring.annotation;

import org.springframework.context.annotation.Import;
import tool.zyk.spring.bean.RpcInjectRegister;

import java.lang.annotation.*;

/**
 * @author feite.zyk
 * @time 2024/2/2 15:16
 * @description
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Import(RpcInjectRegister.class)
public @interface EnableRpc {

    String value();//baskPackage

    boolean isServer() default false;

}
